$OpenBSD: patch-contrib_lc-btrie_CMakeLists_txt,v 1.2 2017/03/08 17:02:13 sthen Exp $
--- contrib/lc-btrie/CMakeLists.txt.orig	Sun Mar  5 15:23:13 2017
+++ contrib/lc-btrie/CMakeLists.txt	Sun Mar  5 15:27:30 2017
@@ -3,9 +3,6 @@ ADD_LIBRARY(lcbtrie STATIC ${LCTRIESRC})
 
 SET(LCTRIE_CFLAGS "-DBUILD_RSPAMD")
 IF(ENABLE_FULL_DEBUG MATCHES "OFF")
-if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
-    SET(LCTRIE_CFLAGS "${LCTRIE_CFLAGS} -O3")
-endif ()
 ENDIF()
 
 set_target_properties(lcbtrie PROPERTIES COMPILE_FLAGS "${LCTRIE_CFLAGS}")
